package com.forever7776.qiniu.remote.rpc;

import com.alibaba.fastjson.JSONObject;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface QiNiuRpcService {

    /**
     * 文件转化为字节流上传
     *
     * @param multipartFile
     * @param userId
     * @return
     */
    JSONObject pic(MultipartFile multipartFile, String userId) throws IOException;
}
